//JavaScript


var iFrameCode;


function loadIFrameCode(){
  if (iFrameCode == null){
    iFrameCode = "<iframe width=\"640\" height=\"480\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\""+ 
    "src=\"http://maps.google.fr/maps/ms?ie=UTF8&amp;hl=fr&amp;t=h&amp;s=AARTsJq2VhPyxpa7AkhOH08BdRyiLrHL9g&amp;msa=0&amp;msid=100166071796062675000.0004549573b1ca8d361bb&amp;ll=47.246144,-1.591859&amp;spn=0.006992,0.013733&amp;z=16&amp;output=embed\">"+
    "</iframe>";
    $('#frameMap').html(iFrameCode);
  }
}

function hideFormDestineo(){
  $('#idFormDestineo').hide("slow");
  $('#idLienFormDestineo').show("slow");
}

function showFormDestineo(){
  $('#idFormDestineo').show("slow");
  $('#idLienFormDestineo').hide("slow");
}

function hideMap(){
  $('#idMap').hide();
  $('#idLienMap').show();
}

function showMap(){
  loadIFrameCode();
  $('#idMap').show(4000);
  $('#frameMap').show(4000);
  $('#idLienMap').hide(4000);
}

function init(){
  $('#idMap').hide();
  $('#idLienMap').show();
  $('#idFormDestineo').hide();
  $('#idLienFormDestineo').show();
}
